//
//  GDBuyCarListLLController.m
//  美团试验 (自己)
//
//  Created by 热带雨林 on 17/2/14.
//  Copyright © 2017年 热带雨林. All rights reserved.
//

#import "GDBuyCarListLLController.h"
#import "Animted.h"
#import "Masonry.h"

@interface GDBuyCarListLLController ()

@end

@implementation GDBuyCarListLLController{
    Animted *_animted;
}
- (instancetype)init{
    if(self = [super init]){
        self.modalPresentationStyle = UIModalPresentationCustom;
        _animted = [[Animted alloc]init];
        self.transitioningDelegate = _animted;
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor clearColor];
    [self setupUI];
}

- (void)setupUI{
    
    UIImageView *imageFirst = [[UIImageView alloc]init];
    imageFirst.image = [UIImage imageNamed:@"button_shoppingCart_noEmpty"];
    [self.view addSubview:imageFirst];
    
    UIImageView *imageSecound = [[UIImageView alloc]init];
    imageSecound.image = [UIImage imageNamed:@"icon_shoppingCart_popTriangle"];
    [self.view addSubview:imageSecound];
    
    UITableView *tableV = [[UITableView alloc]init];
    [self.view addSubview:tableV];
    
    [imageFirst mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.height.width.mas_equalTo(40);
        make.left.equalTo(self.view).offset(20);
        make.top.equalTo(self.view);
        
    }];
    
    [imageSecound mas_makeConstraints:^(MASConstraintMaker *make) {
        make.height.width.mas_equalTo(6);
        make.top.equalTo(imageFirst.mas_bottom).offset(2);
        make.left.equalTo(self.view).offset(35);
    }];
    
    [tableV mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(imageSecound.mas_bottom);
        make.left.right.bottom.equalTo(self.view);
    }];
    
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
